package com.yang.beans;

import java.util.Date;

/**
 * 描述:微博数据库模型封装
 * @author 杨建全
 * @date 2017年5月19日 下午4:20:07
 */
public class Weibo {
	
    private Integer id;
    //微博内容
    private String content;
    //发布时间
    private Date createTime;
    //发布人id
    private Integer createUserId;
    //评论数量
    private Integer commentSize = 0;

    public Integer getCommentSize() {
		return commentSize;
	}

	public void setCommentSize(Integer commentSize) {
		this.commentSize = commentSize;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
}